﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Syk.Library.Cache
{
    public interface ICacheProvider
    {
        object Get(object uid, TimeSpan timeout);
        object Get(object uid);

        void Set(object uid, object value, TimeSpan timeout);
        void Set(object uid, object value);
    }
}
